import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
import { NzMessageService } from 'ng-zorro-antd';
@Component({
    selector: 'app-detele',
    templateUrl: './detele.component.html',
    styleUrls: ['./detele.component.css']
})
export class DeteleComponent implements OnInit {
    @Input() currentTask;
    @Input() context;
    @Input() nztitle;
    @Output() delete = new EventEmitter<any>();
    constructor(private nzMessageService: NzMessageService) {
    }

    ngOnInit() {
    }
    cancel(): void {
    }

    confirm(): void {
        this.delete.emit();
    }

}
